﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Management.Automation;

namespace ESF.MUP.Powershell
{
    [Cmdlet(VerbsCommon.Get, "Manager")]
    public class GetManager:Cmdlet
    {
        protected override void ProcessRecord()
        {
            ESF.MUP.BasePlatform.PlatformManager mngr = ESF.MUP.BasePlatform.Factories.PlatformManagerFactory.GetManager<ESF.MUP.BasePlatform.PlatformManager>("ESF.MUP.Connectors.IISManager.IISManager, ESF.MUP.Connectors.IISManager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null");
            this.WriteObject(mngr);
        }
    }
}
